home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 October
/
EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso
/
Aminet
/
comm
/
fido
/
SHELTER275.lha
/
XPRS
/
xprfts.doc
< prev
next >
Wrap
Text File
|
1994-12-03
|
5KB
|
130 lines
XPRFTS.LIBRARY
Robert Williamson
based upon original documentation by Russell McOrmond
Additions and Fixes:
Dec 3.1994
Removed L flag setup option, link rate is now obtained via WXI functions.
Previous:
Sealink flags O and I would cause errors because they were not as
documented. The library was looking for Y/N/B, not S/T/B. The library
now agrees with the documentation.
Added L flag to pass link rate to library.
Removed D flag.
Added updstatus support. (XPR3)
Added dual-status support (XPR2.001)
Since this library will not be of much use in a term program, xpr user
setup interface was not added.
Fixed turnaorund and xpr_fnext problems.
Changes:
Removed copyright by Russell McOrmond from crc.c.
Removed unused crc32 table,macros and functions from crc.
DO NOT use this or any earlier version of xprfts.library for SeaLink
under EMSI. Since xprfts performs FTS1 negotiation, using it under EMSI is
a violation of technical standards. Please use xprslk.library for using
Sealink under EMSI (SLK).
options value meaning
7 Y Allow the use of MODEM7 filename exchanging.
7 N Don't do anything relating to MODEM7 at all.
P.S. Technically MODEM7 should not be used in DietIFNA, but some sites
seem to require it.
C Y Allow MODEM7 to be skipped on inbound if the
remote polls with a 'c'.
C N Do modem7 anyways.
O T Only ever generate a Telink header block
O S Only ever generate a SeaLink header block
O B Generate both types of header.
I T Accept only Telink header block
I S Accept only SeaLink header block
I B Accept both types of header.
P Y Pickup files on outdial.
P N Don't pickup on outdial.
S Y Allow the use of FTS7 (SeaLink)
S F Do FTS7 even if not asked for.
S N Don't do FTS7 at all
B Y Allow special 'Big Filename' headers to be
generated
B N Do not generate 'Big filename' headers.
A Y Ask for SeaLink by using block/compliment in
ACK/NAK's
A N Use only single character ack/nak.
N Y Ask for MDM7 by polling with NAK rather than
a 'c'.
N N Poll with a 'c'.
W Y Wait for Sealink block/compliment on ACK/NAK's
NOTE: This will interact VERY badly with Modem7
filename transfers, so only use in Sealink
transfers.
W N Assume 1 character Xmodem ack/nak
F Y Give the first file a header (Telink/SeaLink)
F N Don't give the first file a header.
M Y First file is Mail bundle (FTS-1)
M N First file is actual outbound file transfer.
example (The current Defaults):
XprSetup xprfts.library "7y,cy,ob,ib,py,sy,bn,ay,nn,wn,fy,my"
Any option not given an explicit value will get the current defaults. The
defaults are set up to be as 'friendly' as possible to as many sites.
wpl concerns:
XprSetup does not read any variables, so we use the WXI functions to
obtain the sending program name ($(host.mailer) and the Link rate
($(Baud)). All calculations are based upon the actual link rate and not
the locked rate. The mailer name is inserted into the Sealink heade
sending program fieldr. If this wpl varibae was not set, "XPRslk" is
inserted instead.
XprSetup makes an XPR library ready for a transfer. The first parameter
given is the xpr library name, and the second parameter is a string passed
to the xpr library with XProtocolSetup(). The variable $(XprSetup) is set
to the numeric return of XProtocolSetup(). A value of 0 indicates a
failure, otherwise the setup was successful.
Return Values in $(Setup) are or'ed from the following:
XPRS_FAILURE 0x00000000L
XPRS_SUCCESS 0x00000001L
XPRS_NORECREQ 0x00000002L
XPRS_NOSNDREQ 0x00000004L
XPRS_HOSTMON 0x00000008L
XPRS_USERMON 0x00000010L
XPRS_HOSTNOWAIT 0x00000020L
XPRS_NOUPDATE 0x00008000L
XPRS_XPR2001 0x00010000L *
XPRS_DOUBLE 0x00020000L *
* Note: private jammail versions of wpl.library require both returned
to enable dual-status display. This is WRONG. Only XPRS_XPR2001 should
trigger use of dual-status display. Therefore support for dual-status
display, while in the sources are disabled via a compile define for this
release.